package cn.tedu.zx.ams.service;

import cn.tedu.zx.pojo.admin.parm.PermissionAddNewParam;
import cn.tedu.zx.pojo.admin.parm.PermissionUpdateParam;
import cn.tedu.zx.pojo.admin.vo.PermissionListItemVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface PermissionService {
    List<PermissionListItemVO> list();

    void update(PermissionUpdateParam permissionUpdateParam);

    void delete(Long id);

    void addNew(PermissionAddNewParam permissionAddNewParam);
}
